cat("# GLOBAL")

GLOBAL

see the starting point

This is the state of the game at the beginning

print(draw_map(game, "GLOBAL"))

knitr::kable(get_map_df(game, "GLOBAL"))
player loc unit_id unit_type action unit_name
big_grizz D4 1 ravenwing_talonmaster control Vulgar Prophet
big_grizz D4 2 deathwing_captain control Averroes
big_grizz D4 3 techmarine control Madeline Burgess
big_grizz D4 4 phobos_librarian control Michael Fine
big_grizz D4 5 tactical_squad control Nolan Lee
big_grizz D4 6 tactical_squad control Angel Simmons
big_grizz D4 7 tactical_squad control Mason Pham
big_grizz D4 8 tactical_squad control Mckenzie Torres
big_grizz D4 9 infiltrators control Manfred Eicher
big_grizz D4 10 ravenwing_bike_squad control Jess Harnell
big_grizz D4 11 ravenwing_attack_bike control Stan Lee
big_grizz D4 12 ravenwing_attack_bike control Frank Welker
big_grizz D4 13 dreadnought control Alice Bush
big_grizz D4 14 redemptor_dreadnought control Josephine Adams
big_grizz D4 15 invictor_tactical_warsuit control Babyface & L.A. Reid
big_grizz D4 16 ravenwing_apothecary control Richard Burton
big_grizz D4 17 deathwing_terminators control Martin Buber
big_grizz D4 18 deathwing_knights control U.G. Krishnamurti
big_grizz D4 19 vindicare_assassin control David Foster
big_grizz D4 20 eliminators control John Hill
big_grizz D4 21 eradicators control Alana Garrett
big_grizz D4 22 storm_raven control Respected Bastard
big_grizz D4 23 rhino control Cary Grant Velasquez
eric G7 1 trazyn_the_infinite control Natalie Thompson
eric G7 2 illuminor_szeras control Alan Mendez
eric G7 3 technomancer control Steig Larsson
eric G7 4 lychgaurd control Jaxson Perry
eric G7 5 skorpekh_destroyers control Aaliyah Guerra
eric G7 6 canoptek_plasmacyte control Scratchin’ Bandit
eric G7 7 immortals control Evan Cole
eric G7 8 canoptek_spyders control Thunderous RZA
eric G7 9 canoptek_spyders control Arrogant Deck
eric G7 10 cryptothralls control Leonardo Peterson
eric G7 11 cryptothralls control Payton Wang
eric G7 12 canoptek_scarab_swarms control Sarkastik Desperado
eric G7 13 canoptek_wraiths control Zoe Saldana
eric G7 14 deathmarks control Max Martin
eric G7 15 night_scythe control Herbie Hancock
eric G7 16 overlord control Emilia Cook
eric G7 17 royal_warden control Nathaniel Hines
eric G7 18 necron_warriors control Weston Hill
eric G7 19 immortals control Destiny Butler
eric G7 20 canoptek_scarab_swarms control Hugo Weaving
eric G7 21 canoptek_scarab_swarms control James Stewart
eric G7 22 night_scythe control Domenico Modugno
eric G7 23 overlord control Eric Warren
eric G7 24 royal_warden control Ezekiel Rice
eric G7 25 immortals control Braxton Knight
eric G7 26 necron_warriors control Isaac Lucas
eric G7 27 canoptek_scarab_swarms control Salman Khan
eric G7 28 canoptek_scarab_swarms control Frank Sinatra
chris A5 1 flying_hive_tryant control Ruff Killah
chris A5 2 flying_hive_tryant control William Holden
chris A5 3 broodlord control Dirk Sobotka
chris A5 4 broodlord control T Bone Burnett
chris A5 5 neurothrope control U Wanderer
chris A5 6 tyranid_warriors control Eden Tran
chris A5 7 tyranid_warriors control Kaden Goodwin
chris A5 8 tyranid_warriors control Jace Barnes
chris A5 9 genestealers control Justin Mcgee
chris A5 10 genestealers control Christopher Lawson
chris A5 11 termagants control Melanie Molina
chris A5 12 hormagaunts control Reese Wu
chris A5 13 ripper_swarms control Daniel Dennett
chris A5 14 ripper_swarms control Kaylee Dean
chris A5 15 ripper_swarms control Lila Ryan
chris A5 16 hive_guard control Kimberly Barber
chris A5 17 maleceptor control Layla Turner
chris A5 18 venomthropes control Gabrielle Tate
chris A5 19 raveners control John Ratzenberger
chris A5 20 gargoyles control Tha Artist
chris A5 21 gargoyles control Doris Day
chris A5 22 exocrine control David Robertson
chris A5 23 biovores control Robert Calderon
chris A5 24 biovores control Kevin Moore
chris A5 25 tyrannocyte control Frank Kafka Padilla
# Get a list of unit ID's to easily make the `modify_unit()` calls below.
# will hopefully refactor `modify_unit()` to just take integer ID's in the future
moby_units <- get_player_map(game, "big_grizz") %>% pull(unit_name)
eric_units <- get_player_map(game, "eric") %>% pull(unit_name)
chris_units <- get_player_map(game, "chris") %>% pull(unit_name)

TURN 1

Players change their maps (making orders)

moves

game <- game %>%
  modify_unit("big_grizz", moby_units[1],   "move",  "C2") %>%
  modify_unit("big_grizz", moby_units[c(2, 7, 17, 18)],   "control",  "D4") %>%
  modify_unit("big_grizz", moby_units[c(3, 5:6, 13, 22)],   "soar",  "H2") %>% # transport
  modify_unit("big_grizz", moby_units[c(8, 23)],   "move",  "C5") %>% # transport
  modify_unit("big_grizz", moby_units[9],   "move",  "F5") %>%
  modify_unit("big_grizz", moby_units[c(10:12, 16)],   "move",  "D1") %>%
  modify_unit("big_grizz", moby_units[c(14:15, 19:21)],   "move",  "F5") %>%
  modify_unit("eric",      eric_units[c(1:6, 13:14, 8:11)],   "move",  "E7") %>%
  modify_unit("eric",      eric_units[7],     "control","G7") %>%
  modify_unit("eric",      eric_units[12],     "move","E5") %>%
  modify_unit("eric",      eric_units[15:18],   "soar","I4") %>% # transport 
  modify_unit("eric",      eric_units[19],   "move","G6") %>%
  modify_unit("eric",      eric_units[20],   "move","E6") %>%
  modify_unit("eric",      eric_units[21],   "move","E4") %>%
  modify_unit("eric",      eric_units[c(22:24, 26)],   "soar", "H3") %>% # transport 
  modify_unit("eric",      eric_units[25],   "move","G8") %>%
  modify_unit("eric",      eric_units[27],   "move","F4") %>%
  modify_unit("eric",      eric_units[28],   "move","F8") %>%
  modify_unit("chris",     chris_units[c(6, 13)],  "move","A2") %>%
  modify_unit("chris",     chris_units[c(5, 7, 8, 12, 23)],  "move","A3") %>%
  modify_unit("chris",     chris_units[1],  "move","A4") %>%
  modify_unit("chris",     chris_units[c(10, 14, 24)],  "move","A6") %>%
  modify_unit("chris",     chris_units[c(3, 9, 17, 18, 22)],  "move","A7") %>%
  modify_unit("chris",     chris_units[2],  "move","A8") %>%
  modify_unit("chris",     chris_units[19],  "move","B10") %>%
  modify_unit("chris",     chris_units[21],  "move","B11") %>%
  modify_unit("chris",     chris_units[c(4, 15)],  "move","B7") %>%
  modify_unit("chris",     chris_units[20],  "move","E1") %>%
  modify_unit("chris",     chris_units[c(11, 16, 25)],  "control","A5") %>%
  reconcile_player_orders()
## All units resolved.

Attempt to reconcile moves.

print(draw_map(game, "GLOBAL"))

knitr::kable(get_map_df(game, "GLOBAL"))
player loc unit_id unit_type action unit_name
chris A2 6 tyranid_warriors move Eden Tran
chris A2 13 ripper_swarms move Daniel Dennett
chris A3 5 neurothrope move U Wanderer
chris A3 7 tyranid_warriors move Kaden Goodwin
chris A3 8 tyranid_warriors move Jace Barnes
chris A3 12 hormagaunts move Reese Wu
chris A3 23 biovores move Robert Calderon
chris A4 1 flying_hive_tryant move Ruff Killah
chris A5 11 termagants control Melanie Molina
chris A5 16 hive_guard control Kimberly Barber
chris A5 25 tyrannocyte control Frank Kafka Padilla
chris A6 10 genestealers move Christopher Lawson
chris A6 14 ripper_swarms move Kaylee Dean
chris A6 24 biovores move Kevin Moore
chris A7 3 broodlord move Dirk Sobotka
chris A7 9 genestealers move Justin Mcgee
chris A7 17 maleceptor move Layla Turner
chris A7 18 venomthropes move Gabrielle Tate
chris A7 22 exocrine move David Robertson
chris A8 2 flying_hive_tryant move William Holden
chris B10 19 raveners move John Ratzenberger
chris B11 21 gargoyles move Doris Day
chris B7 4 broodlord move T Bone Burnett
chris B7 15 ripper_swarms move Lila Ryan
big_grizz C2 1 ravenwing_talonmaster move Vulgar Prophet
big_grizz C5 8 tactical_squad move Mckenzie Torres
big_grizz C5 23 rhino move Cary Grant Velasquez
big_grizz D1 10 ravenwing_bike_squad move Jess Harnell
big_grizz D1 11 ravenwing_attack_bike move Stan Lee
big_grizz D1 12 ravenwing_attack_bike move Frank Welker
big_grizz D1 16 ravenwing_apothecary move Richard Burton
big_grizz D4 2 deathwing_captain control Averroes
big_grizz D4 4 phobos_librarian control Michael Fine
big_grizz D4 7 tactical_squad control Mason Pham
big_grizz D4 17 deathwing_terminators control Martin Buber
big_grizz D4 18 deathwing_knights control U.G. Krishnamurti
chris E1 20 gargoyles move Tha Artist
eric E4 21 canoptek_scarab_swarms move James Stewart
eric E5 12 canoptek_scarab_swarms move Sarkastik Desperado
eric E6 20 canoptek_scarab_swarms move Hugo Weaving
eric E7 1 trazyn_the_infinite move Natalie Thompson
eric E7 2 illuminor_szeras move Alan Mendez
eric E7 3 technomancer move Steig Larsson
eric E7 4 lychgaurd move Jaxson Perry
eric E7 5 skorpekh_destroyers move Aaliyah Guerra
eric E7 6 canoptek_plasmacyte move Scratchin’ Bandit
eric E7 8 canoptek_spyders move Thunderous RZA
eric E7 9 canoptek_spyders move Arrogant Deck
eric E7 10 cryptothralls move Leonardo Peterson
eric E7 11 cryptothralls move Payton Wang
eric E7 13 canoptek_wraiths move Zoe Saldana
eric E7 14 deathmarks move Max Martin
eric F4 27 canoptek_scarab_swarms move Salman Khan
big_grizz F5 9 infiltrators move Manfred Eicher
big_grizz F5 14 redemptor_dreadnought move Josephine Adams
big_grizz F5 15 invictor_tactical_warsuit move Babyface & L.A. Reid
big_grizz F5 19 vindicare_assassin move David Foster
big_grizz F5 20 eliminators move John Hill
big_grizz F5 21 eradicators move Alana Garrett
eric F8 28 canoptek_scarab_swarms move Frank Sinatra
eric G6 19 immortals move Destiny Butler
eric G7 7 immortals control Evan Cole
eric G8 25 immortals move Braxton Knight
big_grizz H2 3 techmarine soar Madeline Burgess
big_grizz H2 5 tactical_squad soar Nolan Lee
big_grizz H2 6 tactical_squad soar Angel Simmons
big_grizz H2 13 dreadnought soar Alice Bush
big_grizz H2 22 storm_raven soar Respected Bastard
eric H3 22 night_scythe soar Domenico Modugno
eric H3 23 overlord soar Eric Warren
eric H3 24 royal_warden soar Ezekiel Rice
eric H3 26 necron_warriors soar Isaac Lucas
eric I4 15 night_scythe soar Herbie Hancock
eric I4 16 overlord soar Emilia Cook
eric I4 17 royal_warden soar Nathaniel Hines
eric I4 18 necron_warriors soar Weston Hill

TURN 2

Players change their maps (making orders)

moves

game <- game %>%
  modify_unit("big_grizz", moby_units[1],   "move",  "B4") %>%
  modify_unit("big_grizz", moby_units[7],   "move",  "D2") %>%
  modify_unit("big_grizz", moby_units[6],   "move",  "H5") %>%
  modify_unit("big_grizz", moby_units[c(3, 5, 13, 22)],   "control",  "H2") %>%
  modify_unit("big_grizz", moby_units[c(8, 23)],   "control",  "C5") %>%
  modify_unit("big_grizz", moby_units[9],   "control",  "F5") %>%
  modify_unit("big_grizz", moby_units[c(10:12, 16)],   "move",  "B4") %>%
  modify_unit("big_grizz", moby_units[c(14:15, 19:21)],   "move",  "C5") %>%
  modify_unit("eric",      eric_units[c(1:6, 13:14, 8:11)],   "move",  "E5") %>%
  modify_unit("eric",      eric_units[7],     "move","E7") %>%
  modify_unit("eric",      eric_units[12],     "move","F2") %>%
  modify_unit("eric",      eric_units[c(15,18)],     "control","I4") %>%
  modify_unit("eric",      eric_units[16:17],   "move","I5") %>%
  modify_unit("eric",      eric_units[19],   "control","G6") %>%
  modify_unit("eric",      eric_units[20],   "move","E3") %>%
  modify_unit("eric",      eric_units[21],   "move","A8") %>%
  modify_unit("eric",      eric_units[c(22:24, 26)],   "move","H2") %>%
  modify_unit("eric",      eric_units[25],   "control","G8") %>%
  modify_unit("eric",      eric_units[27],   "move","F5") %>%
  modify_unit("eric",      eric_units[28],   "move","H3") %>%
  modify_unit("chris",     chris_units[c(6)],  "move","A4") %>%
  modify_unit("chris",     chris_units[c(13)],  "control","A2") %>%
  modify_unit("chris",     chris_units[c(5, 12, 23)],  "move","B2") %>%
  modify_unit("chris",     chris_units[c(7, 8)],  "control","A3") %>%
  modify_unit("chris",     chris_units[1],  "move","A8") %>%
  modify_unit("chris",     chris_units[c(14)],  "control","A6") %>%
  modify_unit("chris",     chris_units[c(10, 24)],  "move","A8") %>%
  modify_unit("chris",     chris_units[c(3,17, 18, 22)],  "move","B9") %>%
  modify_unit("chris",     chris_units[c(9)],  "control","A7") %>%
  modify_unit("chris",     chris_units[2],  "move","E1") %>%
  modify_unit("chris",     chris_units[19],  "move","E1") %>%
  modify_unit("chris",     chris_units[21],  "move","B6") %>%
  modify_unit("chris",     chris_units[c(4)],  "move","B8") %>%
  modify_unit("chris",     chris_units[c(15)],  "move","B9") %>%
  modify_unit("chris",     chris_units[20],  "move","E2") %>%
  modify_unit("chris",     chris_units[11],  "move","B7") %>%
  modify_unit("chris",     chris_units[c(16, 25)],  "control","A5") %>%
  reconcile_player_orders()
## CONFLICT(s):
## Warning: Conflict is at hand! Please resolve territorial disputes.

Attempt to reconcile moves.

# print(draw_map(game, "GLOBAL"))
# knitr::kable(get_map_df(game, "GLOBAL"))
print(draw_map(game))

knitr::kable(get_map_df(game))
player loc unit_id unit_type action unit_name
chris A8 1 flying_hive_tryant move Ruff Killah
chris A8 10 genestealers move Christopher Lawson
chris A8 24 biovores move Kevin Moore
eric A8 21 canoptek_scarab_swarms move James Stewart
big_grizz F5 9 infiltrators control Manfred Eicher
eric F5 27 canoptek_scarab_swarms move Salman Khan
big_grizz H2 3 techmarine control Madeline Burgess
big_grizz H2 5 tactical_squad control Nolan Lee
big_grizz H2 13 dreadnought control Alice Bush
big_grizz H2 22 storm_raven control Respected Bastard
eric H2 22 night_scythe move Domenico Modugno
eric H2 23 overlord move Eric Warren
eric H2 24 royal_warden move Ezekiel Rice
eric H2 26 necron_warriors move Isaac Lucas

moves

# retreats
game <- game %>%
  modify_unit("eric", "F5",   "move","F8") %>%
  kill_unit("eric", eric_units[21]) %>%
  modify_unit("eric", "H2",   "move","H3") %>%
  reconcile_player_orders()
## All units resolved.
print(draw_map(game, "GLOBAL"))

knitr::kable(get_map_df(game, "GLOBAL"))
player loc unit_id unit_type action unit_name
chris A2 13 ripper_swarms control Daniel Dennett
chris A3 7 tyranid_warriors control Kaden Goodwin
chris A3 8 tyranid_warriors control Jace Barnes
chris A4 6 tyranid_warriors move Eden Tran
chris A5 16 hive_guard control Kimberly Barber
chris A5 25 tyrannocyte control Frank Kafka Padilla
chris A6 14 ripper_swarms control Kaylee Dean
chris A7 9 genestealers control Justin Mcgee
chris A8 1 flying_hive_tryant move Ruff Killah
chris A8 10 genestealers move Christopher Lawson
chris A8 24 biovores move Kevin Moore
chris B2 5 neurothrope move U Wanderer
chris B2 12 hormagaunts move Reese Wu
chris B2 23 biovores move Robert Calderon
big_grizz B4 1 ravenwing_talonmaster move Vulgar Prophet
big_grizz B4 10 ravenwing_bike_squad move Jess Harnell
big_grizz B4 11 ravenwing_attack_bike move Stan Lee
big_grizz B4 12 ravenwing_attack_bike move Frank Welker
big_grizz B4 16 ravenwing_apothecary move Richard Burton
chris B6 21 gargoyles move Doris Day
chris B7 11 termagants move Melanie Molina
chris B8 4 broodlord move T Bone Burnett
chris B9 3 broodlord move Dirk Sobotka
chris B9 15 ripper_swarms move Lila Ryan
chris B9 17 maleceptor move Layla Turner
chris B9 18 venomthropes move Gabrielle Tate
chris B9 22 exocrine move David Robertson
big_grizz C5 8 tactical_squad control Mckenzie Torres
big_grizz C5 23 rhino control Cary Grant Velasquez
big_grizz C5 14 redemptor_dreadnought move Josephine Adams
big_grizz C5 15 invictor_tactical_warsuit move Babyface & L.A. Reid
big_grizz C5 19 vindicare_assassin move David Foster
big_grizz C5 20 eliminators move John Hill
big_grizz C5 21 eradicators move Alana Garrett
big_grizz D2 7 tactical_squad move Mason Pham
big_grizz D4 2 deathwing_captain control Averroes
big_grizz D4 4 phobos_librarian control Michael Fine
big_grizz D4 17 deathwing_terminators control Martin Buber
big_grizz D4 18 deathwing_knights control U.G. Krishnamurti
chris E1 2 flying_hive_tryant move William Holden
chris E1 19 raveners move John Ratzenberger
chris E2 20 gargoyles move Tha Artist
eric E3 20 canoptek_scarab_swarms move Hugo Weaving
eric E5 1 trazyn_the_infinite move Natalie Thompson
eric E5 2 illuminor_szeras move Alan Mendez
eric E5 3 technomancer move Steig Larsson
eric E5 4 lychgaurd move Jaxson Perry
eric E5 5 skorpekh_destroyers move Aaliyah Guerra
eric E5 6 canoptek_plasmacyte move Scratchin’ Bandit
eric E5 8 canoptek_spyders move Thunderous RZA
eric E5 9 canoptek_spyders move Arrogant Deck
eric E5 10 cryptothralls move Leonardo Peterson
eric E5 11 cryptothralls move Payton Wang
eric E5 13 canoptek_wraiths move Zoe Saldana
eric E5 14 deathmarks move Max Martin
eric E7 7 immortals move Evan Cole
eric F2 12 canoptek_scarab_swarms move Sarkastik Desperado
big_grizz F5 9 infiltrators control Manfred Eicher
eric F8 27 canoptek_scarab_swarms move Salman Khan
eric G6 19 immortals control Destiny Butler
eric G8 25 immortals control Braxton Knight
big_grizz H2 3 techmarine control Madeline Burgess
big_grizz H2 5 tactical_squad control Nolan Lee
big_grizz H2 13 dreadnought control Alice Bush
big_grizz H2 22 storm_raven control Respected Bastard
eric H3 22 night_scythe move Domenico Modugno
eric H3 23 overlord move Eric Warren
eric H3 24 royal_warden move Ezekiel Rice
eric H3 26 necron_warriors move Isaac Lucas
eric H3 28 canoptek_scarab_swarms move Frank Sinatra
big_grizz H5 6 tactical_squad move Angel Simmons
eric I4 15 night_scythe control Herbie Hancock
eric I4 18 necron_warriors control Weston Hill
eric I5 16 overlord move Emilia Cook
eric I5 17 royal_warden move Nathaniel Hines
eric NA 21 canoptek_scarab_swarms NA James Stewart